package com.ruoyi.coronary.mapper;

import java.util.List;
import com.ruoyi.coronary.domain.CoronaryRecord;

/**
 * 诊疗单Mapper接口
 * 
 * @author wky
 * @date 2024-04-03
 */
public interface CoronaryRecordMapper 
{
    /**
     * 查询诊疗单
     * 
     * @param recordId 诊疗单主键
     * @return 诊疗单
     */
    public CoronaryRecord selectCoronaryRecordByRecordId(Long recordId);

    /**
     * 查询诊疗单列表
     * 
     * @param coronaryRecord 诊疗单
     * @return 诊疗单集合
     */
    public List<CoronaryRecord> selectCoronaryRecordList(CoronaryRecord coronaryRecord);

    /**
     * 新增诊疗单
     * 
     * @param coronaryRecord 诊疗单
     * @return 结果
     */
    public int insertCoronaryRecord(CoronaryRecord coronaryRecord);

    /**
     * 修改诊疗单
     * 
     * @param coronaryRecord 诊疗单
     * @return 结果
     */
    public int updateCoronaryRecord(CoronaryRecord coronaryRecord);

    /**
     * 删除诊疗单
     * 
     * @param recordId 诊疗单主键
     * @return 结果
     */
    public int deleteCoronaryRecordByRecordId(Long recordId);

    /**
     * 批量删除诊疗单
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCoronaryRecordByRecordIds(Long[] recordIds);
}
